<div id="mainColumns">
	<div class="section">
		<div id="mypageContent">
			<h2 class="title">プロフィール</h2>
			<p><?php echo nl2br($user['Profile']['description']);?></p>
		</div>
	</div>
	<div class="section">
		<h2 class="title">このユーザが管理する他のコース</h2>
		<ul class="list course clearfix">
		<?php foreach ($courses as $course):?>
		<?php echo $this->element('course/item', array('course' => $course));?>
		<?php endforeach;?>
		</ul>
		<div id="footPageNation">
			<?php echo $this->element('paginator');?>
		</div>
	</div>
</div><!-- /mainColumns -->
<div id="subColumns">
	<!-- .section -->
	<div class="section">
	<?php if ($avatar = $user['Profile']['icon_image']):?>
	<?php echo $this->Html->image(Configure::read('User.upload_path_prefix') . $avatar, array('class' => 'userImage', 'alt' => ''));?>
	<?php else:?>
	<?php echo $this->Html->image('user_avatar2.jpg', array('class' => 'userImage', 'alt' => ''));?>
	<?php endif;?>
	</div>
	<!-- /.section -->
	<!-- .section -->
	<div class="section">
		<h2 class="title2">ユーザー情報</h2>
		<ul class="content3">
			<li><?php echo $this->User->getUsername($user);?></li>
			<li><?php echo $user['Profile']['headline'];?></li>
		</ul>
	</div>
	<!-- /.section -->
	<div class="section watchList" id="watchList">
	<?php echo $this->element('watch_section', array('teacherId' => $user['Profile']['user_id']));?>
	</div>
</div><!-- /subColumns -->
